package com.koalac.ironman.net.pojo.response;

import org.json.JSONObject;

public class GoodPicture extends BaseResponse{
    
    private String id;
    private String goodId;
    private String dateline;
    private String headImgUrl;
    private String publish;
    
    @Override
    public void init(JSONObject source) {
	if (source != null) {
	    id = source.optString("id");
	    goodId = source.optString("goodid");
	    dateline = source.optString("dateline");
	    headImgUrl = source.optString("head_img_url");
	    publish = source.optString("publish");
	}
    }
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getGoodId() {
        return goodId;
    }

    public void setGoodId(String goodId) {
        this.goodId = goodId;
    }

    public String getDateline() {
        return dateline;
    }

    public void setDateline(String dateline) {
        this.dateline = dateline;
    }

    public String getHeadImgUrl() {
        return headImgUrl;
    }

    public void setHeadImgUrl(String headImgUrl) {
        this.headImgUrl = headImgUrl;
    }

    public String getPublish() {
        return publish;
    }

    public void setPublish(String publish) {
        this.publish = publish;
    }

}
